﻿using System;
using System.Collections.Generic;
using System.Security.Cryptography;


namespace mds.DFSService
{
    internal static class DfsHelper
    {
        public static readonly string FileColumnFamily = "File";
     
        public static string ComputeHash(byte[] binary)
        {
            var md5 = MD5.Create();
            return Convert.ToBase64String(md5.ComputeHash(binary));
        }
    }
}
